import { axios } from '@/utils/request'

export function query (parameter) {
  return axios({
    url: '/collectionPlaylist/query',
    method: 'post',
    data: parameter
  })
}

export function addCollectionPlaylist (parameter) {
  return axios({
    url: '/collectionPlaylist/add',
    method: 'post',
    data: parameter
  })
}

export function removePlaylistByUserId (parameter) {
  return axios({
    url: '/collectionPlaylist/removeByUserId',
    method: 'post',
    data: parameter
  })
}
